package com.ns.scs.feedback.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ns.scs.feedback.dto.FeedBackPageDto;
import com.ns.scs.feedback.entry.FeedBackEntry;
import com.ns.scs.feedback.vo.FeedBackExtraVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 数据层接口
 *
 * @author lw
 * @since 2024/09/23
 */
@Mapper
public interface FeedBackEntryMapper extends BaseMapper<FeedBackEntry> {
    /**
     * 分页查询
     *
     * @param dto  参数
     * @param page 分页参数
     * @return PropEntryVO
     */
    Page<FeedBackExtraVO> getList(@Param("dto") FeedBackPageDto dto, @Param("page") Page page);

}
